package com.fjnldx.mes.mapper.energyRecord;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjnldx.mes.domain.domainReq.PowerConsumptionOfMachineReq;
import com.fjnldx.mes.domain.domainReq.VarietyPowerConsumptionReq;
import com.fjnldx.mes.domain.domainRes.LineChartRes;
import com.fjnldx.mes.domain.domainRes.PowerConsumptionOfMachineRes;
import com.fjnldx.mes.domain.domainRes.VarietyPowerConsumptionRes;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface EnergyRecordMapper {

    IPage<VarietyPowerConsumptionRes> getVarietyPowerConsumption(VarietyPowerConsumptionReq queryParam, Page page);

    IPage<PowerConsumptionOfMachineRes> getPowerConsumptionOfMachine(PowerConsumptionOfMachineReq queryParam, Page page);

    IPage<VarietyPowerConsumptionRes> getConsumptionOfGongxu(VarietyPowerConsumptionReq queryParam, Page page);

    IPage<LineChartRes> getLineChart(PowerConsumptionOfMachineReq queryParam, Page page);
}
